﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ShahyadS.TFSBuildInspectionModel
{
	public enum BuildDefinitionStatus 
	{
		Ok, // Succeeded
		OkButQueue, // Succeeded but needed to queue new build
		OkIfDelete, // Succeeded but should delete the latest build
		Failed, // Failed
		Refreshing, //loading...
		Unknown,
	}
	public enum ExtendedBuildStatus
	{
		None,
		NotStarted,
		InProgress,
		Stopped,
		Succeeded,
		PartiallySucceeded,
		Failed,
		Deleted,
		Refreshing, //loading...
		Unknown,
	}

	public enum IntegrationStatus
	{
		NotIntegrated, //is not integrated with other related builds
		Integrated, //is integrated with other related builds
		Refreshing, //loading...
		Unknown,
	}
	public enum UpdateStatus
	{
		Outdated, //Sources are changed after the build. It needs to queue another build.
		Updated, //Latest Source is built
		Refreshing, //loading...
		Unknown,
	}
	public enum ExtendedBuildReason
	{
		None,
		BatchedCI,
		Schedule,
		Refreshing, //loading...
		Unknown,
	}
	public enum ExtendedBuildRetention
	{
		IsNotRetained,
		IsRetained, // Keep forever
		Refreshing, //loading...
		Unknown,
	}
}
